package com.nineclock.api.document;

import com.nineclock.common.entity.PageResult;
import com.nineclock.common.entity.Result;
import com.nineclock.document.dto.DocFileDto;
import com.nineclock.document.dto.DocFileHistoryDto;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import java.util.List;

@Api(value = "PC端文件管理接口", tags = "文档服务", description = "文档管理")
public interface PcDocumentControllerApi {

    @ApiOperation(value = "分页查询文件列表")
    public Result<PageResult<DocFileDto>> getDocFileByPage(Integer page, Integer pageSize, String keyword);

    @ApiOperation(value = "文档进行封禁 和 解封")
    public Result changeDocFileStatus(Long fileId, Short status);

    @ApiOperation(value = "PC端-查看历史记录")
    public Result<List<DocFileHistoryDto>> getDocFileHistory(Long fileId);
}
